package tpo.lmhprovider.lmhprovider.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.Label;
import tpo.lmhprovider.lmhprovider.dao.LabelMapper;
import tpo.lmhprovider.lmhprovider.service.LabelService;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

@Service
public class LabelServiceImpl implements LabelService {
    @Autowired
    LabelMapper labelMapper;
    @Override
    public List<Label> getLabel(Map map) {
        return labelMapper.getLabel(map);
    }

    @Override
    public int updateLabel(Map map) {
        return labelMapper.updateLabel(map);
    }

    @Override
    public int addLabel(Map map) {
        return labelMapper.addLabel(map);
    }

    @Override
    public int delLabel(Map map) {
        return labelMapper.delLabel(map);
    }
}
